package wondersgroup.androidwidget;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import wondersgroup.androidwidget.fragments.ConstraintlayoutFragment;
import wondersgroup.androidwidget.fragments.ContentLoadingProgressBarFragment;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        constraintlayoutFragment();
    }


    void contentLoadingProgressBarFragment(){
        getSupportFragmentManager().beginTransaction().add(R.id.frame, new ContentLoadingProgressBarFragment()).commit();

    }
    void constraintlayoutFragment(){
        getSupportFragmentManager().beginTransaction().add(R.id.frame, new ConstraintlayoutFragment()).commit();

    }


}
